package org.hxyjs.dao;

import org.hxyjs.entity.PraiseChef;
import org.hxyjs.page.PageInfo;

import java.util.List;

public interface PraiseChefDao {
    public List<PraiseChef> getPraiseChefByPage(PageInfo pageInfo) throws Exception;

    public List<PraiseChef> getAllPraiseChefs() throws Exception;

    public PraiseChef getPraiseChefByUcno(String ucno) throws Exception;

    //增删改的返回值都是整数
    Integer deletePraiseChefByUcno(String ucno) throws Exception;

    Integer updatePraiseChefByUcno(PraiseChef praiseChef) throws Exception;

    Integer addPraiseChef(PraiseChef praiseChef) throws Exception;




}
